package com.khalil.kkadmin.module.cms.domain;

import com.khalil.kkadmin.infrastructure.jpa.domain.TreeEntityBase;
import jakarta.persistence.Entity;
import jakarta.persistence.EntityListeners;
import jakarta.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

@EntityListeners(AuditingEntityListener.class)
@Table
@Entity
@EqualsAndHashCode(callSuper = true)
@Data
public class CmsContentGroup extends TreeEntityBase<CmsContentGroup, Long> {
    /**
     * 分组标题
     */
    private String name;
    /**
     * 分组描述
     */
    private String description;

    /**
     * 是否可用
     */
    private Boolean disabled;
}
